﻿@model sgp.Models.Dizimo

@{
    ViewBag.Title = "Delete";
}
<fieldset>
    <legend>Detalhes Dizimo</legend>
    <table border="0" width="40%" cellpadding="5">
    <tr>
            <td>
                <div class="display-label">
                    <b>Mês Referente: </b>
                </div>
            </td>
            <td>
                <div class="display-field">
                    @Html.DisplayFor(model => model.MesReferente)
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="display-label">
                    <b>Data: </b>
                </div>
            </td>
            <td>
                <div class="display-field">
                    @Html.DisplayFor(model => model.Data)
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="display-label">
                    <b>Valor: </b>
                </div>
            </td>
            <td>
                <div class="display-field">
                    @Html.DisplayFor(model => model.Valor)
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="display-label">
                    <b>Descrição: </b>
                </div>
            </td>
            <td>
                <div class="display-field">
                    @Html.DisplayFor(model => model.Descricao)
                </div>
            </td>
        </tr>
    </table>
</fieldset>
<table border="0" width="10%" cellpadding="3">
        @using (Html.BeginForm())
    {

        <tr>
            <th>
                 <input class="btn btn-danger btn-danger btn-small" type="submit" value="Deletar" onclick="return confirm('Tem certeza de que quer apagar este?');"/>
            </th>
            <th>
                <a class="btn btn-inverse btn-small" href="/Dizimo/Index" data-original-title="">Voltar</a>
            </th>
        </tr>
    }
    </table>